package com.xdxc.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xdxc.model.entity.Paper;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
@Data
public class QuestionGroupDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)

    private Long id;

    private Long refGroup;
    @JsonSerialize(using = ToStringSerializer.class)

    private Long paperId;
    private String title;
    private Integer quType;
    private String quTypeDictText;
    private Integer quCount;
    private Double totalScore;
    private Double perScore;
    private Boolean quRand;  // Assuming quRand is a boolean; adjust if needed
    private Boolean itemRand; // Assuming itemRand is a boolean; adjust if needed
    private Double pathScore;
    @TableField(exist = false)
    private List<Paper> quList;
}
